# Create your views here.
from django.template.context import RequestContext
from django.shortcuts import render_to_response
from django.http import HttpResponseRedirect

def index(request):
    if request.user.is_authenticated():
        return HttpResponseRedirect('/member/home')
    return render_to_response('index.html', context_instance=RequestContext(request))

def about(request, page):
    return render_to_response('about/' + page + '.html', context_instance=RequestContext(request))
